﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.IO;
using System.Windows.Forms;

namespace Cataloger.Okna.Podstawowe
{
    public partial class FrmAutomatyzacjaKatalogowania : Form
    {
        public FrmAutomatyzacjaKatalogowania()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
        }

        private void comboBox1_DropDown(object sender, EventArgs e)
        {
            foreach (DriveInfo di in Drive.DyskiGotowe())
            {
                comboBox1.Items.Add(di.Name + " " + di.VolumeLabel + " " + di.RodzajDysku());
            }
        }

        private void FrmAutomatyzacjaKatalogowania_Load(object sender, EventArgs e)
        {

        }
    }
}
